package com.itguigu.fruit.dao;

import com.itguigu.fruit.pojo.Fruit;

import java.util.List;

public interface FruitDao {
    String URL="jdbc:mysql:///fruitdb";
    String USER="root";
    String PWD="123456";
     void  addFruit(Fruit fruit);
     void delFruit(String fname);
     void  updateFruit(Fruit fruit);
     List<Fruit> getFruitList();
     Fruit getFruitByFname(String fname);
}
